package com.gomoku.botrunning.service.impl;

import com.gomoku.botrunning.service.BotMoveSevice;
import com.gomoku.botrunning.service.impl.utils.BotPool;
import org.springframework.stereotype.Service;

@Service
public class BotMoveServiceImpl implements BotMoveSevice {
    public final static BotPool botPool = new BotPool();
    @Override
    public String getBotMove(Integer userId, Integer botId, String input) {
        //运行当前 botId 的代码 返回 MultiValueMap
        botPool.addBot(userId,botId,input);
        return "add Bot success";
    }
}
